crypto/tls.serverHelloMsg.alpnProtocol (field)
8 uses
crypto/tls (current package)
handshake_client.go#L778: if err := checkALPN(hs.hello.alpnProtocols, hs.serverHello.alpnProtocol, false); err != nil {
handshake_client.go#L782: c.clientProtocol = hs.serverHello.alpnProtocol
handshake_client_tls13.go#L142: len(hs.serverHello.alpnProtocol) != 0 ||
handshake_messages.go#L640: alpnProtocol string
handshake_messages.go#L679: if len(m.alpnProtocol) > 0 {
handshake_messages.go#L684: exts.AddBytes([]byte(m.alpnProtocol))
handshake_messages.go#L831: m.alpnProtocol = string(proto)
handshake_server.go#L229: hs.hello.alpnProtocol = selectedProto
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |